import { GET_ARTICLE_DETAILS} from '../actionType'
const initValue = {}
export default function article(state = initValue, action) {
    switch (action.type) {
        case GET_ARTICLE_DETAILS:
            console.log(action.payload)
            // return action.payload
            return action.payload
        default:
          return state
    } 
}